Ext.define("SHApp.System.Maintenance.FormClass", {
    extend: "BLBTSystem.Form",
    submitUrl: "api/maintenclass?format=json",
    winWidth: 300,
    winHeight: 160,
    layout: { type: "vbox", align: "stretch" },
    items: [
        {
            xtype: "textfield",
            fieldLabel: "ID",
            name: "Id",
            hidden: true
        }, {
            fieldLabel: "<span style='color:red'>*</span>分类名称",
            xtype: "textfield",
            name: "Text",
            maxLength: 50,
            allowBlank: false,
            blankText: "分类名称不能为空!"
        }, {
            xtype: "hiddenfield",
            name: "OldText"
        }
	],
    initComponent: function () {
        Ext.apply(this);
        this.callParent(arguments);
    }
})